package org.demo.springbootdemo.Service;

import org.demo.springbootdemo.Entity.User;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface UserService {
    List<User> findAll();
    
    User findById(Long id);
    
    void insert(User user);
    
    void update(User user);
    
    void delete(Long id);
}